/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.biblioteca.persistencia;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 *
 * @author instalador
 */

@Entity
public class Favorito implements Serializable {

    @Id
    private String isbn;

    @Basic
    private String usu;
    
    @Basic 
    private String libro;

    public Favorito(String isbn, String usu,String libro) {
        this.isbn = isbn;
        this.usu = usu;
        this.libro=libro;
    }

    public Favorito() {
    }
    
    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getUsu() {
        return usu;
    }

    public void setUsu(String usu) {
        this.usu = usu;
    }

    public String getLibro() {
        return libro;
    }

    public void setLibro(String libro) {
        this.libro = libro;
    }
    
    


}
